import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
  name: 'isLocked'
})
export class IsLockedPipe implements PipeTransform {

  transform(value: boolean): string {
    return value ? '已完结' : '未完结';
  }

}
